Before this commit, a widget tree like this:
Window
AnyContainer (part of SizeGroup1)
GtkClutterEmbed
SomeWidget
when calling gtk_widget_queue_resize(SomeWidget), would invalidate
SizeGroup1, when it should have stopped at the GtkClutterEmbed (which is
a RESIZE_IMMEDIATE child).
parent = widget;
- while (parent)
+ do
{
if (widget == parent)
real_queue_resize (widget);
}
}
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
+ if (GTK_IS_RESIZE_CONTAINER (parent))
+ break;
+G_GNUC_END_IGNORE_DEPRECATIONS;
+
parent = _gtk_widget_get_parent (parent);
}
+ while (parent);
g_hash_table_destroy (widgets);
g_hash_table_destroy (groups);